Monte Carlo Errors with Less Errors
نویسنده
چکیده
We explain in detail how to estimate mean values and assess statistical errors for arbitrary functions of elementary observables in Monte Carlo simulations. The method is to estimate and sum the relevant autocorrelation functions, which is argued to produce more certain error estimates than binning techniques and hence to help toward a better exploitation of expensive simulations. An effective integrated autocorrelation time is computed which is suitable to benchmark efficiencies of simulation algorithms with regard to specific observables of interest. A Matlab code is offered for download that implements the method. It can also combine independent runs (replica) allowing to judge their consistency. HU-EP-03/32 SFB/CCP-03-12 ∗e-mail: [email protected] 1 Formulation of the problem In this article we collect some theory and formulas for the practical estimation of statistical and systematic errors in Monte Carlo simulations. Emphasis is put on the estimation of in general nonlinear functions (‘derived quantities’) of the primary expectation values. The strategy focuses on the explicit determination of the relevant autocorrelation functions and times. We shall discuss why this is advantageous compared to the popular binning techniques, which handle autocorrelations only implicitly. A Matlab code is made available, which implements the method described here. The material given here is only partially new. It has been briefly discussed in the appendix of [1] and in internal notes of the ALPHA collaboration [2] and in lecture notes [3]. However, due to the fact that mastering this topic is an indispensable prerequisite for every student or researcher in the popular field of lattice simulation, we felt that there is a gap in the readily citeable literature which we want to fill here. We assume to have a number of primary observables enumerated by a Greek index with exact statistical mean values Aα. The object to be estimated is a function of these, F ≡ f(A1, A2, . . .) ≡ f(Aα). (1) A typical example is given by reweighting, where a quotient F = A1/A2 has to be determined. A more involved case are fit-parameters determined by correlation functions over a range of separations. For the estimation we employ Monte Carlo estimates of the primary observables given by aα. For each observable there are i = 1, 2, . . . , N successive estimates separated by executions of some valid update procedure. We assume that the Markov chain has been equilibrated before recording data beginning with i = 1. This has to be secured from case to case, and we in particular recommend visual inspections of initial histories of observables to decide on safely discarding data. A posteriori one should also check that the equilibration time was much longer than autocorrelation times found in the analysis of the supposed equilibrium data. A key theoretical quantity for error estimation is the autocorrelation [4, 5] function Γαβ defined by 〈 (aα −Aα)(a β − Aβ) 〉
منابع مشابه
Dosimetric characterization of a high dose rate 192I source for brachytherapy application using Monte Carlo simulation and benchmarking with thermoluminescent dosimetry
Background: The purpose of this project was to derive the brachytherapy dosimetric functions described by American Association of Physicists in Medicine (AAPM) TG-43 U1 based on high dose rate 192I sources. Materials and Methods: The method utilized included both simulation of the designed Polymethyl methacrylate (PMMA) phantom using the Monte Carlo of MCNP4C and benchmarking of the simulation ...
متن کاملThe effect of dose calculation uncertainty on the evaluation of radiotherapy plans.
Monte Carlo dose calculations will potentially reduce systematic errors that may be present in currently used dose calculation algorithms. However, Monte Carlo calculations inherently contain random errors, or statistical uncertainty, the level of which decreases inversely with the square root of computation time. Our purpose in this study was to determine the level of uncertainty at which a lu...
متن کاملAccuracy Evaluation of Oncentraâ„¢ TPS in HDR Brachytherapy of Nasopharynx Cancer Using EGSnrc Monte Carlo Code
Background: HDR brachytherapy is one of the commonest methods of nasopharyngeal cancer treatment. In this method, depending on how advanced one tumor is, 2 to 6 Gy dose as intracavitary brachytherapy is prescribed. Due to high dose rate and tumor location, accuracy evaluation of treatment planning system (TPS) is particularly important. Common methods used in TPS dosimetry are based on computat...
متن کاملModelling measurement errors and category misclassifications in multilevel models
Models are developed to adjust for measurement errors in normally distributed predictor and response variables and categorical predictors with misclassification errors. The models allow for a hierarchical data structure and for correlations among the errors and misclassifications. Markov Chain Monte Carlo (MCMC) estimation is used and implemented in a set of MATLAB macros.
متن کاملProperties of Forward Pruning in Game-Tree Search
Forward pruning, or selectively searching a subset of moves, is now commonly used in game-playing programs to reduce the number of nodes searched with manageable risk. Forward pruning techniques should consider how pruning errors in a game-tree search propagate to the root to minimize the risk of making errors. In this paper, we explore forward pruning using theoretical analyses and Monte Carlo...
متن کاملInterweaving Markov Chain Monte Carlo Strategies for Efficient Estimation of Dynamic Linear Models
In dynamic linear models (DLMs) with unknown fixed parameters, a standard Markov chain Monte Carlo (MCMC) sampling strategy is to alternate sampling of latent states conditional on fixed parameters and sampling of fixed parameters conditional on latent states. In some regions of the parameter space, this standard data augmentation (DA) algorithm can be inefficient. To improve efficiency, we app...
متن کامل